package com.hua.nailcampus.acl.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hua.nailcampus.acl.model.School;
import com.hua.nailcampus.acl.model.UserSchool;
import com.hua.nailcampus.acl.model.vo.UserSchoolVo;

import java.util.List;

/**
 * @Author:chenjianhua
 * @Date:2023/11/15 19:36
 * @Version 1.8
 */
public interface SchoolService extends IService<School> {
    List<School> getSchoolList();

    UserSchoolVo getSchool(Integer userId);

    void addUserSchool(UserSchool userSchool);

    UserSchool isApply(Integer userId);

    IPage<UserSchoolVo> getUserSchoolList(Integer current, Integer limit, UserSchool userSchool);

    void passAllUserSchool();
}
